Work Instruction

 

 

 

ActivateAllSwapWorkInstructions

Sends a message to XPS to activate all work instructions related to a container swap created for the gate transactions processed for a truck visit. Include this business task only for XPS operations.

To indicate where XPS should place the truck after the specific truck visit is successfully processed, enter an existing logical block in XPS, per the configuration of your settings.xml file, for the truckPosition parameter.

Generally, the setting for truckPostition is:

Gate stage

Truck Visit OUT

 

 

ActivateAllWorkInstruction

Functional Area

Gate

Execution Level

Truck Visit/Transaction

Transaction Type(s)

Gate: Truck Visit IN

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

Sends a message to XPS to activate all work instructions created for the gate transactions processed for a truck visit. Regardless of the gate stage this business task is included for, N4 does not activate all work instructions until the gate transactions are processed at the last in-gate stage.

Include this business task only for XPS operations.

If there is an existing exchange area delay for the specified gate stage, then N4 delays sending the message to XPS by the number of seconds defined in the Exchange Area Delays tab per the following rules:

A work instruction is not eligible if the gate transaction has an assigned exchange area but not an assigned exchange lane. If a transaction is not eligible, N4 does not schedule or activate any work instructions for that gate transaction.

If a gate transaction does not have an assigned exchange area or if there is no delay defined for the exchange area, N4 sends the message to XPS to activate all work instructions at the last ingate stage.

To indicate where XPS should place the truck after the specific truck visit is successfully processed, enter an existing logical block in XPS, per the configuration of your settings.xml file, for the truckPosition parameter.

Generally, the setting for truckPostition is:

However, you can enter any logical block, as long as it exists in the your settings.xml file.

If a gate transaction has an assigned exchange area and exchange lane, the truckPosId is the ID of the exchange lane. Otherwise, the truckPosId is the value of the truckPosition parameter.

For more information on setting parameters, see Business Tasks form (on page 1).

Parameters

- Chassis IsOwners check box is selected in the Gate form.

- Container position is Wheeled area in XPS.

- Work queue is of type Flip.

The transactions types applicable for the isFlipRequired parameter are Receive Export (RE)/Receive Import (RI), and Receive Empty (RM).

Dependencies

None

Timing

on-submit: The business task is executed after all the gate transactions are successfully saved for a gate stage. If the Check if All Done check box is selected for a gate stage, the on-submit business tasks are executed as soon as the gate clerk successfully saves the last gate transaction for that stage for the truck visit. If the Check If All Done check box is not selected for a gate stage, the on-submit business tasks are executed when the gate clerk clicks the Proceed to Next Stage button in the <GateStage> tab. For APIs it is when you execute the process-truck API or the stage-done API if the stage-done API is not executed from the process-truck API (do-stage-done is set to false).

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

ActivateWorkInstructionsByArea

Sends a message to XPS to activate work instructions created by the gate transactions for the specific exchange area the truck is in.

Include this business task only for XPS operations. Specifically when road activation is turned off, you must include this business task at the gate stage where Truck Notify Arrival is performed ("yard" stage) for the truck visit. For more information, see setting RDACTV.

When including ActivateWorkInstructionsByArea, EXCLUDE ActivateAllWorkInstruction (on page 1).

Gate stage

Truck Visit OUT

 

 

CancelWorkInstructionIfError

Functional Area

Gate

Execution Level

Transaction

Transaction Type(s)

Gate: Deliver Break-Bulk (DB), Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM)

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

For XPS operations, the business task deletes the work instructions associated with a gate transaction if errors occur during gate processing and the transaction has not yet completed.

If you do not include this business task, N4 will not delete a work instruction that is created but not associated with a gate transaction because the gate transaction resulted in an error, such as a container failing to deck.

When there is only one container in the EDO and there are two truck visit appointments, the same container is assigned to both the trucks. To prevent this, exclude the business task CancelWorkInstructionIfError at the ingate stage for the DM tran type so that XPS retains the WI of the first container and selects a different container for the second truck.

Parameters

None

Dependencies

You must include this business task at an ingate stage where you might include the SelectEmptyContainer (on page 1), SelectImportContainer (on page 1), ConfirmDelivery (on page 1), or PlanUnitIntoYard (on page 1) business task to create work instructions.

Timing

For gate transactions, such as Receive Export or Receive Empty, N4 processes tasks when you click the Save Transaction button on the gate transaction section of the <GateStage> tab (on page 1).

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

QueueAllWorkInstruction

Sends a message to XPS to queue all work instructions created for the gate transactions processed for a truck visit. Include this business task only for XPS operations.

If you include this business task for a one stage ingate, you must also include the ActivateAllWorkInstruction (on page 1) business task. If you include this business task for a two stage ingate, you should include the QueueAllWorkInstruction business task at the first stage and the ActivateAllWorkInstruction business task at the second stage.

Gate stage

Truck Visit IN

 

 

ReadInternalMove

This business task reads a Yard Shift move being performed by an Internal Truck where the CHE ID is the same as the Truck ID. If an Unknown (UK) gate transaction is created with no container details and the ReadInternalMove business task is included in your gate configuration, it tries to search for a work instruction (WI) by matching the Truck ID.

You can use the messageLevel parameter to displays an error message if there are no WIs in progress for the Truck ID.

Functional Area

Gate

Execution Level

Transaction

Transaction Type(s)

Unknown (UK)

Client Type(s)

UI and Gate API

Parameters

You can use the following parameter to configure the error message level for the business task.

For more information on setting parameters, see Business Tasks form (on page 1).

Dependencies

None

Related Business Task(s)

None

Custom Code

None

Field(s)

None